﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YiDa.Domain;

namespace YiDa.Repository.EntityFramework.Test.Modal
{
    public class SchoolClass : AggregateRoot
    {
        public SchoolClass()
        {
            Students = new List<Student>();
        }

        public string Name { get; set; }

        public string MasterTeacher { get; set; }

        public virtual List<Student> Students { get; set; }

        public virtual School School { get; set; }
    }
}
